package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author smith
 * @since 2025-09-28
 */
public class Coupon implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "cou_id", type = IdType.AUTO)
    private Integer couId;

    private String couName;

    private Float couMoney;

    private String couType;

    private LocalDateTime couStartTime;

    private LocalDateTime couEndTime;

    private LocalDateTime couPublishTime;

    private LocalDateTime couUpdateTime;

    private Integer couStatus;

    public Integer getCouId() {
        return couId;
    }

    public void setCouId(Integer couId) {
        this.couId = couId;
    }
    public String getCouName() {
        return couName;
    }

    public void setCouName(String couName) {
        this.couName = couName;
    }
    public Float getCouMoney() {
        return couMoney;
    }

    public void setCouMoney(Float couMoney) {
        this.couMoney = couMoney;
    }
    public String getCouType() {
        return couType;
    }

    public void setCouType(String couType) {
        this.couType = couType;
    }
    public LocalDateTime getCouStartTime() {
        return couStartTime;
    }

    public void setCouStartTime(LocalDateTime couStartTime) {
        this.couStartTime = couStartTime;
    }
    public LocalDateTime getCouEndTime() {
        return couEndTime;
    }

    public void setCouEndTime(LocalDateTime couEndTime) {
        this.couEndTime = couEndTime;
    }
    public LocalDateTime getCouPublishTime() {
        return couPublishTime;
    }

    public void setCouPublishTime(LocalDateTime couPublishTime) {
        this.couPublishTime = couPublishTime;
    }
    public LocalDateTime getCouUpdateTime() {
        return couUpdateTime;
    }

    public void setCouUpdateTime(LocalDateTime couUpdateTime) {
        this.couUpdateTime = couUpdateTime;
    }
    public Integer getCouStatus() {
        return couStatus;
    }

    public void setCouStatus(Integer couStatus) {
        this.couStatus = couStatus;
    }

    @Override
    public String toString() {
        return "Coupon{" +
            "couId=" + couId +
            ", couName=" + couName +
            ", couMoney=" + couMoney +
            ", couType=" + couType +
            ", couStartTime=" + couStartTime +
            ", couEndTime=" + couEndTime +
            ", couPublishTime=" + couPublishTime +
            ", couUpdateTime=" + couUpdateTime +
            ", couStatus=" + couStatus +
        "}";
    }
}
